package com.ky.tms.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum Assets implements IEnum<Integer> {
    FIXED(0, "固定资产"),
    CONSUMABLES(1, "耗材资产");

    private final Integer value;
    private final String desc;
    Assets(final Integer value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
